package com.nclg.exam.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class UpdatePwdDto {

    private Long uId;

    @NotEmpty(message = "原密码不能为空")
    private String oldPwd;

    @NotEmpty(message = "新密码不能为空")
    private String newPwd;
}
